package com.YHVision.qiuzhike.service;

import com.YHVision.qiuzhike.model.entity.User;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.YHVision.qiuzhike.model.entity.CompanyThumb;

import javax.servlet.http.HttpServletRequest;

/**
 * 企业点赞服务
 *
 * @author <a href="">YHVision-小y</a>
 * @from <a href="todo">爱编程学习圈</a>
 */
public interface CompanyThumbService extends IService<CompanyThumb> {

    /**
     *  企业点赞
     * @param companyId
     * @param loginUserId
     * @return
     */
    int doCompanyThumb(long companyId, User loginUserId);


    /**
     *  企业点赞具体操作（内部操作）
     * @param userId
     * @param companyId
     * @return
     */
    int doQuestionThumbInner(long userId, long companyId);


}


